package xyz.riceball.usercore.entity.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import xyz.riceball.framework.core.bean.BaseDatePO;

/**
 * 用户表(User)表实体类
 *
 * @author xiaovcloud
 * @since 2022-04-24 20:17:50
 */
@ApiModel("用户")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_rb_user")
public class UserPO extends BaseDatePO<UserPO> {

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("电子邮件")
    private String email;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("头像地址")
    private String avatar;

    @ApiModelProperty("状态 1为正常，2为停用，3为注销")
    private Integer status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("语言")
    private String language;

}